package org.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.ManyToOne;

import org.entity.Patient;

/**
 * Entity implementation class for Entity: Study
 *
 */
@Entity

public class Study implements Serializable {

	   
	@Id   
	private Integer pk;
	@ManyToOne
	private Patient patient;
	private String study_iuid;
	private String study_id;
	private Date study_datetime;
	private String study_desc;
	private Integer availability;
	private Integer study_status;
	private String retrieve_aets;
	private Integer num_instances;
	private Integer num_series;
	private String mods_in_study;
	private String cuids_in_study;    
    private Date created_time;
	private Date updated_time;
	
	
	private static final long serialVersionUID = 1L;

	public Study() {
		super();
	}   
	public Integer getPk() {
		return this.pk;
	}

	public void setPk(Integer pk) {
		this.pk = pk;
	}   
	public String getStudy_iuid() {
		return this.study_iuid;
	}

	public void setStudy_iuid(String study_iuid) {
		this.study_iuid = study_iuid;
	}   
	public String getStudy_id() {
		return this.study_id;
	}

	public void setStudy_id(String study_id) {
		this.study_id = study_id;
	}   
	
	public Date getStudy_datetime() {
		return this.study_datetime;
	} 

	public void setStudy_datetime(Date study_datetime) {
		this.study_datetime = study_datetime;
	}   
	public String getStudy_desc() {
		return this.study_desc;
	}

	public void setStudy_desc(String study_desc) {
		this.study_desc = study_desc;
	}
	public void setCreated_time(Date created_time) {
		this.created_time = created_time;
	}
	public Date getCreated_time() {
		return created_time;
	}
	public void setUpdated_time(Date updated_time) {
		this.updated_time = updated_time;
	}
	public Date getUpdated_time() {
		return updated_time;
	}
	public void setPatient(Patient patient) {
		this.patient = patient;
	}
	public Patient getPatient() {
		return patient;
	}
	public void setStudy_status(Integer study_status) {
		this.study_status = study_status;
	}
	public Integer getStudy_status() {
		return study_status;
	}
	public void setAvailability(Integer availability) {
		this.availability = availability;
	}
	public Integer getAvailability() {
		return availability;
	}
	public void setRetrieve_aets(String retrieve_aets) {
		this.retrieve_aets = retrieve_aets;
	}
	public String getRetrieve_aets() {
		return retrieve_aets;
	}
	public void setNum_instances(Integer num_instances) {
		this.num_instances = num_instances;
	}
	public Integer getNum_instances() {
		return num_instances;
	}
	public void setNum_series(Integer num_series) {
		this.num_series = num_series;
	}
	public Integer getNum_series() {
		return num_series;
	}
	public void setMods_in_study(String mods_in_study) {
		this.mods_in_study = mods_in_study;
	}
	public String getMods_in_study() {
		return mods_in_study;
	}
	public void setCuids_in_study(String cuids_in_study) {
		this.cuids_in_study = cuids_in_study;
	}
	public String getCuids_in_study() {
		return cuids_in_study;
	}
   
}
